Feature: BMI Calculation
Description: As a user, I want to calculate my BMI on the FitByBeat website
File name: BMICalculate.feature
Relative path: features/BMICalculate.feature
Given
user is on the FitByBeat BMI calculation page
When
user enters valid values for weight, height, age, and selects an activity factor
And
selects sex as a 'Male'
And
clicks the calculate button
Then
user should see the calculated BMI, BMR, and BMR with Activity Factor value
And
sees an interpretation of the calculated result
Given
user is on the FitByBeat BMI calculation page
When
user enters valid values for weight and height only
And
clicks the calculate button
Then
user should only see the calculated BMI
And
sees an interpretation of the calculated result
Given
user is on the FitByBeat BMI calculation page
When
clicks the calculate button
Then
user should see an error message indicating that height and weight are required
And
shouldn't see any interpretation of the calculated result